/*
 * WorldBossReward.h
 *
 *  Created on: 2014. 1. 17.
 *      Author: jjaehuny
 */

#ifndef PROJECTZ_NRESOURCE_WORLDBOSSREWARD_H_
#define PROJECTZ_NRESOURCE_WORLDBOSSREWARD_H_

#include <vector>

namespace ProjectZ { namespace NResource {

class WorldBossReward
{
public:
	struct Data
	{
		int index;
		int rank_min;
		int rank_max;
		int reward1_type;
		int reward1_class_type;
		int reward1_sheet_type;
		int reward1_tid;
		int reward1_value;
		int reward2_type;
		int reward2_class_type;
		int reward2_sheet_type;
		int reward2_tid;
		int reward2_value;

	public:
		Data() {
			index = 0;
			rank_min = 0;
			rank_max = 0;
			reward1_type = 0;
			reward1_class_type = 0;
			reward1_sheet_type = 0;
			reward1_tid = 0;
			reward1_value = 0;
			reward2_type = 0;
			reward2_class_type = 0;
			reward2_sheet_type = 0;
			reward2_tid = 0;
			reward2_value = 0;
		}
	};

public:
	WorldBossReward();
	virtual ~WorldBossReward();

	bool LoadResource();

	typedef std::vector<Data> DATAVECTOR;
	DATAVECTOR & 	GetDataVector() { return _clsDataVector; }

	Data &		GetData(int rank);

private:
	DATAVECTOR _clsDataVector;

	Data _clsNone;
};

} /* NResource */ } /* ProjectZ */

#endif /* PROJECTZ_NRESOURCE_WORLDBOSSREWARD_H_ */
